package com.googlecode.continuity.core.server.rpc;

import com.googlecode.continuity.core.client.rpc.GroupRPC;
import com.googlecode.continuity.core.server.service.GroupService;

/**
 * GroupRPCImpl
 *
 * @author Peter Schmitt <aragos@aragos.de>
 */
public class GroupRPCImpl implements GroupRPC {
  private GroupService groupService;

  public GroupService getGroupService() {
    return groupService;
  }

  public void setGroupService(GroupService groupService) {
    this.groupService = groupService;
  }

  public int getGroupCount() {
    return groupService.getGroupCount();
  }
}
